package com.tanjor.sys;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DubboStart {

	public static void main(String[] args) throws Exception {
		System.out.println("---------dubbo service is starting---------");
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] {"classpath*:spring/tanjor-provider-start.xml"});
		context.start();	
		System.out.println("---------dubbo service is started---------");
		System.in.read();
	}
}
